package com.tangula.android.kashine.db;

import com.tangula.android.orm.Column;
import com.tangula.android.orm.DbType;
import com.tangula.android.orm.Entity;
import com.tangula.android.orm.Table;

@Table("T_DEMO")
public class DemoEntity implements Entity<String> {

    @Column(value="id")
    private String id;

    @Column(value="name", type= DbType.TEXT)
    private String name;

    @Override
    public String getId() {
        return id;
    }

    @Override
    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
